package com.finalab.website.model;

import org.hibernate.validator.constraints.Length;

public class Graduate {

	private Integer id;
	@Length(max = 12)
	private String name;
	@Length(max = 10)
	private String clazz;
	private Byte education;
	@Length(max = 300)
	private String comment;
	@Length(max = 16)
	private String nowLocation;
	
	
	public Graduate() {
		super();
	}
	public Graduate(Integer id, @Length(max = 12) String name, @Length(max = 10) String clazz, Byte education,
			@Length(max = 300) String comment, @Length(max = 16) String nowLocation) {
		super();
		this.id = id;
		this.name = name;
		this.clazz = clazz;
		this.education = education;
		this.comment = comment;
		this.nowLocation = nowLocation;
	}
	@Override
	public String toString() {
		return "Graduate [id=" + id + ", name=" + name + ", clazz=" + clazz + ", education=" + education + ", comment="
				+ comment + ", nowLocation=" + nowLocation + "]";
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getClazz() {
		return clazz;
	}
	public void setClazz(String clazz) {
		this.clazz = clazz;
	}
	public Byte getEducation() {
		return education;
	}
	public void setEducation(Byte education) {
		this.education = education;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public String getNowLocation() {
		return nowLocation;
	}
	public void setNowLocation(String nowLocation) {
		this.nowLocation = nowLocation;
	}
	
}
